<script>
	$(function() {
		$( "#datepicker" ).datepicker({
			showOn: "button",
			buttonImage: "../img/calendar.gif",
			buttonImageOnly: true
		});
	});
	</script>
    
    <?php echo $this->Form->create('Ungvien'); ?>
  

    <h3><?php __('Đăng Ký Ứng Viên'); ?></h3>
    <table class="tableform">    
    <tr>
    <td class="title_col"><?php __('Tài khoản') ?></td>
    <td><?php echo $this->Form->input('mauv', array('label' => false)); ?>
        </td>
    </tr>
    <tr>
    <td class="title_col"><?php __('Mật khẩu') ?></td>
    <td><?php echo $this->Form->input('passuv', array('type'=>'password','label' => false)); ?></td>
    </tr>
    <tr>
    <td class="title_col"><?php __('Gõ lại mật khẩu') ?></td>
    <td><?php echo $this->Form->input('repass', array('type'=>'password','label' => false)); ?></td>
    </tr>
	<tr>
    <td class="title_col"><?php __('Họ và Tên') ?></td>
    <td><?php echo $this->Form->input('hoten', array('label' => false)); ?>
        </td>
    </tr>
    <tr>
    <td class="title_col"><?php __('Giới tính') ?></td>
    <td align="left"><?php        
     $options = array(''=>'chọn giới tính',1=>'Nữ',2=>'Nam',3=>'Khác');   
     echo $form->input('phai',array('type'=>'select','options'=>$options,'label'=>false));?></td>
    </tr>
    <tr>  
            <td><?php __('Ngày Sinh') ?></td>
            <td><?php echo $this->Form->input('ngaysinh', array('id'=>"datepicker",'type'=>'text','label' => false,'style'=>'width:150px;')); ?></td>
    </tr>
    <tr>
    <td class="title_col"><?php __('Quê quán') ?></td>
    <td align="left"><?php  echo $this->Form->input('quequan',array('type'=>'textarea','label'=>false));      
     ?>
     </td>
    </tr>
    <tr>
    <td class="title_col"><?php __('Nơi ở hiện tại') ?></td>
    <td align="left"><?php  echo $this->Form->input('noiohientai',array('type'=>'textarea','label'=>false));      
     ?>
     </td>
    </tr>
	<tr>
    <td class="title_col"><?php __('Điện Thoại') ?></td>
    <td><?php echo $this->Form->input('dienthoaiuv', array('label' => false)); ?></td>
    </tr>
    <tr>
    <td class="title_col"><?php __('Email') ?></td>
    <td><?php echo $this->Form->input('emailuv', array('label' => false)); ?></td>
    </tr>
     <tr>
    <td class="title_col"><?php echo $this->Html->image('ym.gif'); ?></td>
    <td><?php echo $this->Form->input('yahoouv', array('label' => false)); ?></td>
    </tr>   
   </table>  
<div id="form_buttons">
<?php 
    echo $form->Button('Lưu',array('class'=>'btnsave'));
    echo $form->Button('Làm lại',array('type' =>'reset','class'=>'btnreset'));
?> 
</div>
  